﻿<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../../../assets/docs.css" rel="stylesheet" type="text/css" media="screen" />
<title>MooTools Documentation - Locale/Number</title>
</head>

<body>
  <div class="doc">
    <div class="methods">
			<h4 class="menu-item"><a href="#Number">Number</a></h4>
			<div class="menu-item"><a href="#"></a></div>
			<div class="menu-item"><a href="#"></a></div>
			<div class="menu-item"><a href="#"></a></div>
    </div>
    <div class="l-border r-border span-15 content">
				<h1 id="Number"><a href="#Number">Locale: Number</a></h1>

<p class="description">Contains the messages for <a href="../Types/Number.Format.html">Number.Format</a>.</p>

<h2><a href="#">Usage</a></h2>

<p class="description">Simply change the language property to the locale code, for example <em>en-US</em>.</p>

<pre class="javascript">Locale.<span class="kw2">use</span><span class="br0">(</span><span class="st0">'en-US'</span><span class="br0">)</span>;
</pre>

<h3>See also:</h3>

<ul>
<li><a href="../Types/Number.Format.html">Number.Format</a></li>
<li><a href="Locale.html">Locale</a></li>
</ul>
<h2><a href="#">Available Languages</a></h2>

<table class="description">
<tbody><tr>
<th>Language</th>
        <th>Locale Code</th>
        <th>Authors</th>
    </tr>
<tr>
<td>German</td>
        <td>de-DE</td>
        <td>Christoph Pojer</td>
<td>
    </td>
</tr>
<tr>
<td>English (US)</td>
        <td>en-US</td>
        <td>Arian Stolwijk</td>
<td>
    </td>
</tr>
<tr>
<td>Spanish (Venuzuela)</td>
        <td>es-VE</td>
        <td>Daniel Barreto</td>
<td>
    </td>
</tr>
<tr>
<td>Europe (Languages can inherit from this)</td>
        <td>EU</td>
        <td>Arian Stolwijk</td>
<td>
    </td>
</tr>
<tr>
<td>Finnish</td>
        <td>fi-FI</td>
        <td>ksel</td>
<td>
    </td>
</tr>
<tr>
<td>French</td>
        <td>fr-FR</td>
        <td>sv1l</td>
<td>
    </td>
</tr>
<tr>
<td>Hebrew</td>
        <td>he-IL</td>
        <td>Elad Ossadon</td>
<td>
    </td>
</tr>
<tr>
<td>Dutch</td>
        <td>nl-NL</td>
        <td>Arian Stolwijk</td>
<td>
    </td>
</tr>
<tr>
<td>Portuguese (Brazil)</td>
        <td>pt-BR</td>
        <td>Danillo CÃ©sar</td>
<td>
    </td>
</tr>
<tr>
<td>Swedish</td>
        <td>sv-SE</td>
        <td>Martin Lundgren</td>
<td>
    </td>
</tr>
<tr>
<td>Turkish</td>
        <td>tr-TR</td>
        <td>Faruk Can Bilir</td>
    </tr>
</tbody></table>
<h2><a href="#">Keys/Values</a></h2>

<ul class="description">
<li>decimal - (<em>string</em>) The decimal point, usually a <code>.</code> or a <code>,</code>.</li>
<li>group - (<em>string</em>) The thousands separator</li>
<li>currency - (<em>object</em>)

<ul>
<li>decimals - (<em>number</em>) The number of decimals used to format currencies, usually <code>2</code>
</li>
<li>prefix - (<em>string</em>) The prefix, usually the currency symbol like $ or â‚¬.</li>
<li>suffix - (<em>string</em>) Can be used if the currency sympol is placed after the number.</li>
</ul>
</li>
</ul>
    </div>
  </div>
<script type="text/javascript" src="../../../assets/mootools-core-1.3.js"></script>
<script type="text/javascript" src="../../../assets/mootools-more-smoothscroll.js"></script>
<script type="text/javascript" src="../../../assets/doc-assist.js"></script>
</body>
</html>
